@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }
}

a {
  color: #757575;
  transition: all .15s ease-in-out;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.home {
  .sidebar {
    padding: .5rem 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);

    .nav-link {
      transition: all 0.15s ease-in-out;
    }

    .nav-link:hover {
      background: rgba(0, 154, 97, 0.08);
    }
  }

  .sidebar-sticky {
    position: sticky;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;

    .nav {
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      padding-left: 0;
      margin-bottom: 0;
      list-style: none;

      .nav-link {
        display: flex;
        align-items: center;

        svg.icon {
          width: 1.5rem;
          height: 1.5rem;
          margin-right: .5rem;
        }
      }

    }

    .flex-column {
      -ms-flex-direction: column !important;
      flex-direction: column !important;
    }
  }

  .tit {
    border-bottom: 1px solid #d6d9dc;
  }

  .tag-list {

    a {
      font-size: 1rem;
      line-height: 1rem;
      display: inline-block;
      margin: 0 .3rem .3rem;

      color: #39739d;
      background-color: #E1ECF4;
      border-color: #E1ECF4;
      text-decoration: none;

      padding: .2em .2em;
      white-space: nowrap;
      text-align: center;
      border-width: 1px;
      border-style: solid;
      border-radius: 3px;
      transition: all .15s ease-in-out;
    }

    a:hover {
      color: #33658a;
      background-color: #cee0ed;
      border-color: #cee0ed;
    }
  }

  .doc-list {
    border-top: 1px solid #d6d9dc;
    padding-left: 0;

    li.doc-item {
      list-style: none;

      a {
        text-decoration: none;

        .media-body {
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          line-clamp: 2;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          line-height: 2;
          color: #888;
          font-size: .85rem;

          h5 {
            color: #333;
          }
        }
      }

      a:hover {
        background: rgba(0, 154, 97, 0.08);
        transition: all .15s ease-in-out;
      }

      .item-meta {
        span {
          font-size: 75%;
        }

        .text-gold {
          color: #e48b00;
          font-weight: bold;
          font-size: 75%;
        }
      }
    }
  }
}
footer {
  padding: 5rem 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}
